<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class ProjectDimensionalityPatrolReportsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
    	$reports = [
    		[
    			'company_id' => 1,
    			'project_id' => 1,
    			'project_name' => '花园城一期',
    			'timings_count' => 90,
    			'actual_quantity' => 88,
    			'unreport_count' => 2,
    			'finish_rate' => 97.77,
    			'date' => '2018-05-09',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],[
				'company_id' => 1,
    			'project_id' => 2,
    			'project_name' => '花园城二期',
    			'timings_count' => 98,
    			'actual_quantity' => 86,
    			'unreport_count' => 12,
    			'finish_rate' => 87.77,
    			'date' => '2018-05-09',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],
		];

    	DB::table('project_dimensionality_patrol_reports')->insert($reports);
    }
}
